{% extends "base.html" %}

{% block title%}Outland - 배달업체{% endblock %}
{% block morehead %}
<meta name="generator" content="Bluefish 1.0.7"/>
<script type="text/javascript" src="{% url django.views.static.serve junk %}js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{% url django.views.static.serve junk %}js/jquery.form.js"></script>
<script type="text/javascript" src="{% url django.views.static.serve junk %}js/jquery-ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" src="{% url django.views.static.serve junk %}js/thickbox-compressed.js"></script>
<script type="text/javascript" src="{% url django.views.static.serve junk %}js/cart.js"></script>
<script type="text/javascript" src="{% url django.views.static.serve junk %}search/js/init.js"></script>
<!--<script type="text/javascript" src="{% url django.views.static.serve junk %}js/init_common.js"></script> -->

<link type="text/css" href="{% url django.views.static.serve junk %}css/redmond/jquery-ui-1.7.1.custom.css" rel="stylesheet" />	
<link type="text/css" href="{% url django.views.static.serve junk %}css/thickbox.css" rel="stylesheet" />	
<link href="{% url django.views.static.serve junk %}css/screen.css" rel="stylesheet" type="text/css" media="screen" title="default"/>
<link href="{% url django.views.static.serve junk %}css/menulist_screen.css" rel="stylesheet" type="text/css" media="screen" title="default"/>
<link href="{% url django.views.static.serve junk %}css/search.css" rel="stylesheet" type="text/css" media="screen" title="default"/>
<link href="{% url django.views.static.serve junk %}css/cart.css" rel="stylesheet" type="text/css" media="screen" title="default"/>
{% endblock %}

{% block body %}
<form action="/outland/search/q/" method="get">
	<div id="header">
		<h1><a href="/outland/list/">Outland - 배달업체</a></h1>
			<fieldset>
				<label for="search_menu">검색</label>
				<input id="search_menu" name="q" size="20" value="{{m_name}}" />
			</fieldset>
		<ul id="nav">
		    {% if is_login %}
			    <li id="nav_login"><a href="">로그아웃</a></li>
		    {% else %}
		    <li id="nav_login"><a href="#">로그인</a></li>
		    {% endif %}
			<li id="nav_about"><a href="#">만든 사람들</a></li>
		</ul>
	</div>
	<h2 id="category_title">업체 분류</h2>
	<ul id="categories">
		<li><a id="check_all_toggle">전부 체크/해제</a></li>
{% for category in categoryList %}
		<li class="active"><input type="checkbox" id="checkbox_{{forloop.counter}}" name="cat_chk" value="{{category.name}}" />
<label for="checkbox_{{forloop.counter}}">{{category.name}}</label></li>
{% endfor %}
	</ul>
<input type="hidden" name="category_full" id="category_full" />
<input type="hidden" name="category" id="category" />
</form>
<div id="search_result">
{% block searchResult %}
{% endblock %}
</div>
{% endblock %}